#include<vector>
#include<list>
#include<iostream>
using namespace std;


int main()
{
    vector<int> v1, v2;
    list<int> l1, l2;
    v1.push_back(7);
    v1.push_back(14);
    v2.push_back(-7);
    cout << "size of v1: " << v1.size() << endl;
    cout << "size of v2: " << v2.size() << endl;
    cout << "maxsize of v1: " << v1.max_size() << endl;
    cout << "maxsize of v1: " << v1.max_size() << endl;
    cout << "v1 < v2? " << (v1 < v2) << endl;
    v1.swap(v2);
    cout << "After swapping: " << endl;
    cout << "size of v1: " << v1.size() << endl;
    cout << "size of v2: " << v2.size() << endl;
    cout << "maxsize of v1: " << v1.max_size() << endl;
    cout << "maxsize of v1: " << v2.max_size() << endl;
    cout << "v1 < v2? " << (v1 < v2) << endl;

    cout << "LIST:" << endl;
    l1.push_back(7);
    l1.push_back(14);
    l2.push_back(-7);
    cout << "size of l1: " << l1.size() << endl;
    cout << "size of l2: " << l2.size() << endl;
    cout << "maxsize of l1: " << l1.max_size() << endl;
    cout << "maxsize of l2: " << l2.max_size() << endl;
    cout << "l1 < l2? " << (l1 < l2) << endl;
    l1.swap(l2);
    cout << "After swapping: " << endl;
    cout << "size of l1: " << l1.size() << endl;
    cout << "size of l2: " << l2.size() << endl;
    cout << "maxsize of l1: " << l1.max_size() << endl;
    cout << "maxsize of l2: " << l2.max_size() << endl;
    cout << "l1 < l2? " << (l1 < l2) << endl;
    return 0;
}